Use CRPEJob::GetNSQLExpressions to determine the number of SQL expressions in the specified report.
short GetNSQLExpressions ();